﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BoriPeter.FitnessJournal8.Models
{
    public class ExerciseEntry : ModelBase
    {
        #region ExreciseId
        /// <summary>
        /// exercise_id – the unique exercise identifier.
        /// </summary>
        private int exreciseId;
        public int ExreciseId
        {
            get
            {
                return this.exreciseId;
            }

            set
            {
                this.exreciseId = value;
                NotifyOfPropertyChange("ExreciseId");
            }
        }
        #endregion

        #region ExerciseName
        /// <summary>
        /// the name of the exercise - where the exercise_id is '0' this is a user entered description.
        /// </summary>
        private string exerciseName;
        public string ExerciseName
        {
            get
            {
                return this.exerciseName;
            }

            set
            {
                this.exerciseName = value;
                NotifyOfPropertyChange("ExerciseName");
            }
        }
        #endregion

        #region Minutes
        /// <summary>
        /// minutes is an Int – the duration of the activity in minutes (for a total of 1440 minutes/day).
        /// </summary>
        private int minutes;
        public int Minutes
        {
            get
            {
                return this.minutes;
            }

            set
            {
                this.minutes = value;
                NotifyOfPropertyChange("Minutes");
            }
        }
        #endregion

        #region Calories
        /// <summary>
        /// is an Decimal – the estimated energy consumed per activity in kcal, 
        /// based on the user's weight – where the exercise_id is '0' this is a user entered value.
        /// </summary>
        private decimal calories;
        public decimal Calories
        {
            get
            {
                return this.calories;
            }

            set
            {
                this.calories = value;
                NotifyOfPropertyChange("Calories");
            }
        }
        #endregion

    }
}
